From ece732672db0262e44da30aa90db508f0372d54c Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 11 Aug 2009 04:49:57 +0000 Subject: [PATCH] Go back to nuke commands being in a batch of their own. --- delbin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/delbin.c b/delbin.c index 2204ed518..2661cbcad 100644 --- a/delbin.c +++ b/delbin.c @@ -1258,7 +1258,10 @@ add_nuke(nuke_type type) p->location = nuke_dest_internal; memset(p->object_name, 0, sizeof(p->object_name)); + // MSG_DELETE generates a MSG_TRANSFER_COMPLETE, + // so use the batch facility to wait for it add_to_batch(MSG_DELETE, &m); + send_batch(TRUE); } static void @@ -2249,6 +2252,7 @@ ff_vecs_t delbin_vecs = { // You need to install 'build environments' and 'tools' from the SDK and // follow the instructions in the Install.html to get MSVC to find the right // headers and libraries. +#include #include static HANDLE hid_handle; -- 2.30.2